#include "ReferenceKind.h"

ReferenceKind intToReferenceKind(int v)
{
	switch (v)
	{
	case REFERENCE_TYPE_USAGE:
		return REFERENCE_TYPE_USAGE;
	case REFERENCE_USAGE:
		return REFERENCE_USAGE;
	case REFERENCE_CALL:
		return REFERENCE_CALL;
	case REFERENCE_INHERITANCE:
		return REFERENCE_INHERITANCE;
	case REFERENCE_OVERRIDE:
		return REFERENCE_OVERRIDE;
	case REFERENCE_TYPE_ARGUMENT:
		return REFERENCE_TYPE_ARGUMENT;
	case REFERENCE_TEMPLATE_SPECIALIZATION:
		return REFERENCE_TEMPLATE_SPECIALIZATION;
	case REFERENCE_INCLUDE:
		return REFERENCE_INCLUDE;
	case REFERENCE_IMPORT:
		return REFERENCE_IMPORT;
	case REFERENCE_MACRO_USAGE:
		return REFERENCE_MACRO_USAGE;
	case REFERENCE_ANNOTATION_USAGE:
		return REFERENCE_ANNOTATION_USAGE;
	}
	return REFERENCE_UNDEFINED;
}

int referenceKindToInt(ReferenceKind t)
{
	return t;
}
